﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009A1 RID: 2465
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JGGABPHAMOH : IMessage<JGGABPHAMOH>, IMessage, IEquatable<JGGABPHAMOH>, IDeepCloneable<JGGABPHAMOH>, IBufferMessage
	{
		// Token: 0x17001F32 RID: 7986
		// (get) Token: 0x06006E95 RID: 28309 RVA: 0x00128232 File Offset: 0x00126432
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JGGABPHAMOH> Parser
		{
			get
			{
				return JGGABPHAMOH._parser;
			}
		}

		// Token: 0x17001F33 RID: 7987
		// (get) Token: 0x06006E96 RID: 28310 RVA: 0x00128239 File Offset: 0x00126439
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JGGABPHAMOHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F34 RID: 7988
		// (get) Token: 0x06006E97 RID: 28311 RVA: 0x0012824B File Offset: 0x0012644B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JGGABPHAMOH.Descriptor;
			}
		}

		// Token: 0x06006E98 RID: 28312 RVA: 0x00128252 File Offset: 0x00126452
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGGABPHAMOH()
		{
		}

		// Token: 0x06006E99 RID: 28313 RVA: 0x0012825A File Offset: 0x0012645A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGGABPHAMOH(JGGABPHAMOH other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006E9A RID: 28314 RVA: 0x00128273 File Offset: 0x00126473
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JGGABPHAMOH Clone()
		{
			return new JGGABPHAMOH(this);
		}

		// Token: 0x06006E9B RID: 28315 RVA: 0x0012827B File Offset: 0x0012647B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JGGABPHAMOH);
		}

		// Token: 0x06006E9C RID: 28316 RVA: 0x00128289 File Offset: 0x00126489
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JGGABPHAMOH other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06006E9D RID: 28317 RVA: 0x001282A8 File Offset: 0x001264A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006E9E RID: 28318 RVA: 0x001282CE File Offset: 0x001264CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006E9F RID: 28319 RVA: 0x001282D6 File Offset: 0x001264D6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006EA0 RID: 28320 RVA: 0x001282DF File Offset: 0x001264DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006EA1 RID: 28321 RVA: 0x001282F8 File Offset: 0x001264F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006EA2 RID: 28322 RVA: 0x0012831E File Offset: 0x0012651E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JGGABPHAMOH other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006EA3 RID: 28323 RVA: 0x0012833B File Offset: 0x0012653B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006EA4 RID: 28324 RVA: 0x00128344 File Offset: 0x00126544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002A23 RID: 10787
		private static readonly MessageParser<JGGABPHAMOH> _parser = new MessageParser<JGGABPHAMOH>(() => new JGGABPHAMOH());

		// Token: 0x04002A24 RID: 10788
		private UnknownFieldSet _unknownFields;
	}
}
